package com.baizhiedu.config;

import com.baizhiedu.injection.UserDAO;
import com.baizhiedu.injection.UserDAOImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 功能：
 * 作者：HZj
 * 日期：2025/1/5 22:10
 */
@Configuration
public class AppConfig2 {
    @Bean
    public UserDAO userDAO(){
        return new UserDAOImpl();
    }
}
